package cn.wl.pchart.entity;

import java.math.BigInteger;
import java.util.Date;

/**
 * 动态信息类
 */
public class Dinfo {

    // 动态did
    private BigInteger did = null;
    // 对动态的操作类型:0=点赞，1=评论，2=转发
    private Integer type = null;
    // 操作者id
    private String id = null;
    // 操作时间
    private String time = null;
    // 评论内容:0、1操作类型时为null，1操作类型是评论内容,但前端应该在评论前添加一个时间戳，显示时去掉时间戳
    private String data = null;

    // 对应操作用户的昵称
    private String name = null;
    // 对应操作用户的头像
    private String image = null;

    public BigInteger getDid() {
        return did;
    }

    public void setDid(BigInteger did) {
        this.did = did;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
}
